package com.ls.modules.sys.biz.model;

import com.ls.common.baseClass.BackStageBaseObject;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * @author: xiaosu
 * @date: 2018-09-25  17:51
 */
@Data
@ApiModel(parent = BackStageBaseObject.class)
public class LoginModel  extends BackStageBaseObject {

    @ApiModelProperty(value = "用户名")
    @NotBlank(message="用户名不能为空")
    private String name;

    @ApiModelProperty(value = "密码")
    @NotBlank(message="密码不能为空")
    private String password;

    @ApiModelProperty(value = "验证码")
    @NotBlank(message="验证码不能为空")
    private String captcha;

    private String uuid;

}
